package com.luo.backend.dto;

import java.util.Map;

/**
 * 评价统计响应DTO（商家端）
 */
public class ReviewStatisticsResponse {
    
    private Long totalReviews;
    private Double averageRating;
    private Map<Integer, Long> ratingDistribution;
    private Long pendingReplyCount;
    
    public ReviewStatisticsResponse() {}
    
    public ReviewStatisticsResponse(Long totalReviews, Double averageRating, 
                                   Map<Integer, Long> ratingDistribution, Long pendingReplyCount) {
        this.totalReviews = totalReviews;
        this.averageRating = averageRating;
        this.ratingDistribution = ratingDistribution;
        this.pendingReplyCount = pendingReplyCount;
    }
    
    // Getters and Setters
    public Long getTotalReviews() {
        return totalReviews;
    }
    
    public void setTotalReviews(Long totalReviews) {
        this.totalReviews = totalReviews;
    }
    
    public Double getAverageRating() {
        return averageRating;
    }
    
    public void setAverageRating(Double averageRating) {
        this.averageRating = averageRating;
    }
    
    public Map<Integer, Long> getRatingDistribution() {
        return ratingDistribution;
    }
    
    public void setRatingDistribution(Map<Integer, Long> ratingDistribution) {
        this.ratingDistribution = ratingDistribution;
    }
    
    public Long getPendingReplyCount() {
        return pendingReplyCount;
    }
    
    public void setPendingReplyCount(Long pendingReplyCount) {
        this.pendingReplyCount = pendingReplyCount;
    }
}



